//
//  AutoMobile.h
//  HelloCpp
//
//  Created by Nguyen Cong Huy on 10/28/14.
//
//

#ifndef __HelloCpp__AutoMobile__
#define __HelloCpp__AutoMobile__

#include "Vehicle.h"

class AutoMobile : public Vehicle
{
public:
    
    AutoMobile();
    ~AutoMobile();
    bool init();
    void turnRight(float horizontalTarget);
    void turnLeft(float horizontalTarget);
    CCRect getLeftSafeRect();
    CCRect getRightSafeRect();
    void noTurn();
    void updateLaneInfo();
    
protected:
    float distanceRemaining;
    void update(float delta);
    void checkTurnLane();
};

#endif /* defined(__HelloCpp__AutoMobile__) */
